package com.qingcloud.adminbackend.entity.sysorg;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.qingcloud.adminbackend.entity.user.SysUserVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.*;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author liyuhong
 * @since 2018-11-15
 */
@Data
public class SysOrgUserInfo extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 组织Id
     */
    private String id;

    /**
     * 组织名称
     */
    @ApiModelProperty(value = "组织名称", example = "成都市环境保护局")
    @TableField(value = "`name`")
    private String name;

    /**
     * 企业简称
     */
    @ApiModelProperty(value = "企业简称", example = "成都环保局")
    private String shortName;

    /**
     * 企业全称
     */
    @ApiModelProperty(value = "企业全称", example = "成都市环境保护局")
    private String fullName;

    /**
     * 位置
     */
    @ApiModelProperty(value = "位置", example = "")
    private String position;

    /**
     * logo
     */
    @ApiModelProperty(value = "logo横版", example = "")
    private String logo1;

    @ApiModelProperty(value = "logo正方形", example = "")
    private String logo2;

    @TableField(exist = false)
     @ApiModelProperty(value = "业务种类图标", example = "")
     private List<SysOrgLogoDTO> businessLogoList;

     /**
     * 父组织
     */
    @ApiModelProperty(value = "父组织", example = "")
    private String parentId;

    /**
     * 类型1：政府；2：企业;3:机构;4:其他
     */
    @ApiModelProperty(value = "类型1：政府；2：企业;3:机构;4:其他", example = "1")
    private Integer type;

    @ApiModelProperty(value = "1：网格化，2:健康云", example = "0")
    private String businessType;


    @ApiModelProperty(value = "父组织名称")
    private String parentName;


    @ApiModelProperty(value = "组织下的人员")
    private List<SysUserVo> userListVo;

}
